]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
userMenu: Don't show the default avatar over a newly selected one
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 29 Aug 2011 21:41:10 +0000 (17:41 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 30 Aug 2011 00:12:16 +0000 (20:12 -0400)
When we replace the default avatar image with a real image, we need
to remove the default avatar image.

https://bugzilla.gnome.org/show_bug.cgi?id=657657

js/ui/userMenu.js

index 8d71ce287f4477f568dd83fd62b663ae61423e1d..33c331511d739099b6148f1c8febe1b50fb0243b 100644 (file)
@@ -226,6 +226,7 @@ IMStatusChooserItem.prototype = {
 
     _setIconFromFile: function(iconFile) {
         this._iconBin.set_style('background-image: url("' + iconFile + '");');
+        this._iconBin.child = null;
     },
 
     _setIconFromName: function(iconName) {